import fetch from '@/util/fetch'
// queryAppealOrders
export function appeal_get(options) {
  return fetch({
    url: 'front/app/order/list/appeal',
    method: 'get',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// queryFinishOrders
export function finish_get(options) {
  return fetch({
    url: 'front/app/order/list/finish',
    method: 'get',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// queryOrdersByTradeNo
export function trade_get(options) {
  return fetch({
    url: 'front/app/order/list/trade',
    method: 'get',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// queryUnconfirmedOrders
export function unconfirmed_get(options) {
  return fetch({
    url: 'front/app/order/list/unconfirmed',
    method: 'get',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}
